
package todososdados.rmi;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

public class ServentCli extends UnicastRemoteObject implements InterfaceCli{
    
    public ServentCli() throws RemoteException
    {
        
    }
    @Override
    public void notificaClientes(String nome, int codigo, double valor)
    {
        System.out.println("LANCE DE: "+nome+ " CODIGO: "+codigo+" VALOR: "+valor);
    }
}
